package club.kingyin.easycache.component.annotation;

import club.kingyin.easycache.utils.AnnotationUtils;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface Param {

    String name() default AnnotationUtils.PRAM_NULL;

    String value() default AnnotationUtils.PRAM_NULL;

    String ref() default AnnotationUtils.PRAM_NULL;

    Class<?> type() default String.class;
}
